# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=py3-sphobjinv
_pyname=sphobjinv
pkgver=2.3.1
pkgrel=1
pkgdesc="Sphinx objects.inv Inspection/Manipulation Tool"
url="https://github.com/bskinn/sphobjinv"
arch="noarch"
license="MIT"
options="!check"  # no tests
depends="python3 py3-attrs py3-certifi py3-jsonschema py3-fuzzywuzzy"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
subpackages="$pkgname-pyc"
source="$_pyname-$pkgver.tar.gz::https://github.com/bskinn/sphobjinv/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
7253b8b21e2027ce22013edf76a6cd397dcebf652e235a8af8b82349fb19a2f7df15d33f9f032f195a4b471f5bb5321c7de0fb195a5c0c2ce3847be23da35862  sphobjinv-2.3.1.tar.gz
"
